package com.hospital.demo.model.jiajinpeng;

import org.springframework.stereotype.Repository;

@Repository
public class Patient {
    private Integer pid;

    private String pname;

    private Integer page;

    private String psex;

    public Patient() {
    }

    public Patient(Integer pid, String pname, Integer page, String psex) {
        this.pid = pid;
        this.pname = pname;
        this.page = page;
        this.psex = psex;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public String getPsex() {
        return psex;
    }

    public void setPsex(String psex) {
        this.psex = psex;
    }
}
